<style>
    html,body{
        background-color: #f9f9f9;
    }
    .xh-form tr td:nth-child(2n){
        padding: 5px 20px 5px 0;
    }
</style>
<script>
    var info = null;
    {% if info is defined %}
        info = {{ info }};
    {% endif %}
</script>
{% if check is defined %}
    {{ check }}
{% endif %}
<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%;" >
            <tr>
                <td ><label>开始时间</label></td>
                <td ><input type="text" class="form_date" name="tStartDate" must="true">
                    <input type="hidden" name="iRPId">
                    <input type="hidden" name="iRHId" value="{{ iRHId }}">
                </td>
                <td ><label>结束时间</label></td>
                <td ><input type="text" class="form_date" name="tEndDate" must="true"></td>
            </tr>
            <tr>
                <td><label>月租费</label></td>
                <td ><input type="number" name="iMonthPay" must="true"></td>
                <td><label>押金</label></td>
                <td ><input type="number" name="iCashPledge" ></td>
            </tr>
            <tr>
                <td><label>中介费</label></td>
                <td><input type="number" name="iAgencyFee"></td>
                <td><label>税费</label></td>
                <td ><input type="number" name="iTaxes"></td>
            </tr>
            <tr>
                <td><label>合计</label></td>
                <td><input type="text" name="iTotal"></td>
                <td colspan="2">
                    <a id="calculate" class="btn btn-primary btn-sm pull-left">计算</a>
                </td>
            </tr>
            <tr>
                <td><label>是否支付</label></td>
                <td><select name="iState">
                        <option value="0">未支付</option>
                        <option value="1">支付</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td valign="middle"><label>备注</label></td>
                <td colspan="3"  >
                    <textarea name="mDesc"  rows="3" ></textarea>
                </td>
            </tr>
        </table>
    </div>
</form>